<?php

namespace App\Models;

use \Illuminate\Database\Eloquent\Model;

class Category extends Model
{
    protected $table = 'tb_category';// 表名

    public $fillable = ['name'];// create 方法受此限制
    public $timestamps = false;// 关闭后  create方法不会修改 created_at updated_at 的值
}